<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改手刷机具分配')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-branchPos-edit" th:object="${branchPos}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">终端编号：</label>
                <div class="col-sm-8">
                    <input name="posno" th:field="*{posno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">终端类型 0-传统Pos 1-Mpos 2-智能Pos 3-机构 4-电签POS：</label>
                <div class="col-sm-8">
                    <select name="posType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务商编号：</label>
                <div class="col-sm-8">
                    <input name="agentNum" th:field="*{agentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售员编号：</label>
                <div class="col-sm-8">
                    <input name="saleNum" th:field="*{saleNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加人：</label>
                <div class="col-sm-8">
                    <input name="createname" th:field="*{createname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机器号：</label>
                <div class="col-sm-8">
                    <input name="machineNum" th:field="*{machineNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否绑定商户 0 未绑定 1 绑定的：</label>
                <div class="col-sm-8">
                    <input name="isbound" th:field="*{isbound}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">激活：1：激活2：未激活：</label>
                <div class="col-sm-8">
                    <input name="activate" th:field="*{activate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">激活时间：</label>
                <div class="col-sm-8">
                    <input name="activateDate" th:field="*{activateDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">值为空时为普通终端，反之则为活动ID：</label>
                <div class="col-sm-8">
                    <input name="actId" th:field="*{actId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">日是否达标完成  (-1 - 已过考核期 -2 - 变更商户)  0 是 1第一阶段 2 第二阶段 ...... 依次类推：</label>
                <div class="col-sm-8">
                    <input name="isDayStage" th:field="*{isDayStage}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">月是否达标完成  (-1 - 已过考核期 -2 - 变更商户)  0 是 1第一阶段 2 第二阶段 ...... 依次类推：</label>
                <div class="col-sm-8">
                    <input name="isMonStage" th:field="*{isMonStage}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">0激活未返  1 已返：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="returnStatus" value="">
                        <label th:for="returnStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">活动截止日期：</label>
                <div class="col-sm-8">
                    <input name="actEnd" th:field="*{actEnd}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">流量卡费：</label>
                <div class="col-sm-8">
                    <input name="simFee" th:field="*{simFee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机具类型：1 划拨机 2 自购机：</label>
                <div class="col-sm-8">
                    <select name="dqType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">达标日期：</label>
                <div class="col-sm-8">
                    <input name="dbDate" th:field="*{dbDate}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "formalPos/branchPos";
        $("#form-branchPos-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-branchPos-edit').serialize());
            }
        }
    </script>
</body>
</html>